﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AddL2Phone.ascx.cs" Inherits="UserControl_AddL2Phone" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<link href="../css/css_loanphone.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
    function UpdateParentsLogin() {
        tb_remove();
        window.parent.location = "Default.aspx";
    }
</script>
<table style="border: 1px solid #CCCCCC; border-radius: 7px; padding:7px" width="100%">
    <tr>
         <%--<td>
            Loan ID :
        </td>
        <td>
            
        </td>--%>
        <td>
            LPhone ID
        </td>
        <td colspan="3">
            <asp:TextBox ID="txtLPhoneID" runat="server" Enabled="false"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
            Brand
        </td>
        <td>
            <%--<asp:TextBox ID="txtBrand" runat="server" Width="87px"></asp:TextBox>--%>
            <asp:DropDownList ID="drBrand" runat="server">
                <asp:ListItem>Iphone</asp:ListItem>
                <asp:ListItem>Samsung</asp:ListItem>
                <asp:ListItem>HTC</asp:ListItem>
                <asp:ListItem>Nokia</asp:ListItem>
                <asp:ListItem>Other</asp:ListItem>
            </asp:DropDownList>
        </td>
        <td>
            Model
        </td>
        <td>
            <asp:TextBox ID="txtModel" runat="server" Width="149px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
            Loan Fee
        </td>
        <td>
        </td>
        <td>
            IME
        </td>
        <td>
            <asp:TextBox ID="txtIME" runat="server" Width="149px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
            <%--<asp:MaskedEditExtender ID="MaskedEditExtender2" runat="server" TargetControlID="txt_loanfee"
                Mask="99,999.99" MessageValidatorTip="true" OnFocusCssClass="MaskedEditFocus"
                OnInvalidCssClass="MaskedEditError" MaskType="Number" InputDirection="RightToLeft"
                AcceptNegative="Left" DisplayMoney="Left" ErrorTooltipEnabled="True">
            </asp:MaskedEditExtender>--%>
            <asp:TextBox ID="txt_loanfee" runat="server" Width="70px">0</asp:TextBox>
        </td>
        <td>
        </td>
        <td>
            Accessories Included
        </td>
        <td>
            <asp:TextBox ID="txt_access" runat="server" Width="180px"></asp:TextBox>
        </td>
    </tr>
   
    <tr>
        <td>
            Notes
        </td>
        <td colspan="3">
            <asp:TextBox ID="txt_notes" runat="server" TextMode="MultiLine" Height="44px" Width="91%"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
            Amount Deposited
        </td>
        <td>
            <%--<asp:MaskedEditExtender ID="MaskedEditExtender1" runat="server" TargetControlID="txt_amount"
                Mask="99,999.99" MessageValidatorTip="true" OnFocusCssClass="MaskedEditFocus"
                OnInvalidCssClass="MaskedEditError" MaskType="Number" InputDirection="RightToLeft"
                AcceptNegative="Left" DisplayMoney="Left" ErrorTooltipEnabled="True">
            </asp:MaskedEditExtender>--%>
            <asp:TextBox ID="txt_amount" runat="server" Width="92px">0</asp:TextBox>
        </td>
        <td>
           
        </td>
        <td>
            
        </td>
    </tr>
    
    <tr>
        <td colspan="4" align="center">
            <asp:Button ID="btnSave" runat="server" Text="Save" Height="30px"
                Width="57px" onclick="btnSave_Click" />
        </td>
    </tr>
</table>
